package com.liruo.treasureattic.common.model.vo.user;

import com.liruo.treasureattic.common.model.constant.TreasureAtticConstant;
import com.liruo.treasureattic.common.model.enume.GenderEnum;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @Author:liruo
 * @Date:2022-10-28-21:36:34
 * @Desc
 */
@Data
public class UserVo implements Serializable {
    private Long id;
    /**
     * min=4,max=16
     */
    private String username;
    /**
     *
     */
    private String email;

    /**
     * max=2048
     */
    private String avatarUrl;
    /**
     * 0-男,1-女
     */
    private GenderEnum gender;
    private Integer followCnt;
    private Integer followerCnt;
    private Long created;
    private Long updated;
    @Serial
    private static final long serialVersionUID = TreasureAtticConstant.TREASURE_ATTIC_VERSION;
}
